<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page isELIgnored="false"%>
<!DOCTYPE html>
<%
	String path = request.getContextPath();
%>
<html>
<head>

<link rel="stylesheet" type="text/css"
	href="<%=path%>/script/easyUI-1.4/themes/bootstrap/easyui.css">
<link rel="stylesheet" type="text/css"
	href="<%=path%>/script/easyUI-1.4/themes/icon.css">
<script type="text/javascript"
	src="<%=path%>/script/easyUI-1.4/jquery-3.2.1.min.js"></script>
<script type="text/javascript"
	src="<%=path%>/script/easyUI-1.4/jquery.easyui.min.js"></script>
<script type="text/javascript"
	src="<%=path%>/script/easyUI-1.4/locale/easyui-lang-zh_CN.js"></script>
<style type="text/css">
</style>
</head>
<script type="text/javascript">
	$(function() {
			$("#calExpertBtn").click(function(){
			var e1value ="${expertWeight.e1}";
			$('#e1').textbox('readonly',true);
			$('#e1').textbox('setText',e1value);
			
			var e2value ="${expertWeight.e2}";
			$('#e2').textbox('readonly',true);
			$('#e2').textbox('setText',e2value);
			
			var e3value ="${expertWeight.e3}";
			$('#e3').textbox('readonly',true);
			$('#e3').textbox('setText',e3value);
			
			var e4value ="${expertWeight.e4}";
			$('#e4').textbox('readonly',true);
			$('#e4').textbox('setText',e4value);
		
		});
			
			
			$("#calAttriBtn").click(function(){
				var c1 ="${attributeWeight.c1}";
				$('#attributeWeight1').textbox('readonly',true);
				$('#attributeWeight1').textbox('setText',c1);
				
				var c2 ="${attributeWeight.c2}";
				$('#attributeWeight2').textbox('readonly',true);
				$('#attributeWeight2').textbox('setText',c2);
				
				var c3 ="${attributeWeight.c3}";
				$('#attributeWeight3').textbox('readonly',true);
				$('#attributeWeight3').textbox('setText',c3);
				
				var c4 ="${attributeWeight.c4}";
				$('#attributeWeight4').textbox('readonly',true);
				$('#attributeWeight4').textbox('setText',c4);
				
			});
			
			
			$("#nextBtn").bind("click",function(){
				
				location.href="<%=path%>/decisionAndQiAction/getInfo";
				
			});
	});
</script>



<body>
	<div style="margin-left: 30%">
		<div id="expertWeight">
			<h3>Step1：计算专家权重	<a id="calExpertBtn" class="easyui-linkbutton"
						data-options="iconCls:'icon-ok'"
						style="width: 60px; height:32px; margin-left: 20px;">计算</a></h3>
			<img src="<%=path%>/image/e1.png" style="margin-left: 50px;margin-right:10px;vertical-align: middle;"><input class="easyui-textbox" id="e1"  style="width:60px;height: 30px;"> 
			<img src="<%=path%>/image/e2.png" style="margin-left: 50px;margin-right:10px;vertical-align: middle;"><input class="easyui-textbox" id="e2"  style="width:60px;height: 30px"><br/><br> 
			<img src="<%=path%>/image/e3.png" style="margin-left: 50px;margin-right:10px;vertical-align: middle;"><input class="easyui-textbox" id="e3"  style="width:60px;height: 30px"> 
			<img src="<%=path%>/image/e4.png" style="margin-left: 50px;margin-right:10px;vertical-align: middle;"><input class="easyui-textbox" id="e4"  style="width:60px;height: 30px"> 
		
		</div>
		<br><br>
		<div id="attributeWeight">
			<h3>Step2：利用中智集可得属性权重	<a id="calAttriBtn" class="easyui-linkbutton"
						data-options="iconCls:'icon-ok'"
						style="width: 60px; height:32px; margin-left: 20px;">计算</a></h3>
						c1 = <input class="easyui-textbox" id="attributeWeight1"  style="width:60px;height: 30px"> 
						c2 = <input class="easyui-textbox" id="attributeWeight2"  style="width:60px;height: 30px"> <br><br>
						c3 = <input class="easyui-textbox" id="attributeWeight3"  style="width:60px;height: 30px"> 
						c4 = <input class="easyui-textbox" id="attributeWeight4"  style="width:60px;height: 30px"> 
		</div>
		<div style="margin-top: 50px;">
			<a id="nextBtn" class="easyui-linkbutton"
						data-options="iconCls:'icon-ok'"
						style="width: 120px; height:32px; margin-left: 20px;">下一步</a>
		</div>
	</div>
</body>

</html>